const Router = require('koa-router');
const {appletAuth, wxAppletAuth} = require('../middleware/auth.middleware')
const {addFeedBack} = require('../controller/feedBackController')

const appletFeedBackRouter = new Router({prefix: '/applet/feedback'});

appletFeedBackRouter.post('/add', appletAuth, addFeedBack)

appletFeedBackRouter.post('/wxAdd', wxAppletAuth, addFeedBack)

module.exports = appletFeedBackRouter;
